package com.suhuamo.transtionals.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author yuanchuncheng
 * @slogan yscz
 * @date 2024-10-18
 * @description
 */
@TableName("t_user")
@Data
public class User {
    @TableId
    private Long id;
    @TableField("name")
    private String name;
    @TableField("password")
    private String password;
    @TableField("count")
    private Integer count;
    public void addCount() {
        count++;
    }
}
